home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / msgSelectOffline.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-03-09  |  5.9 KB  |  131 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  ***** BEGIN LICENSE BLOCK *****
  6.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.  
  8.  The contents of this file are subject to the Mozilla Public License Version
  9.  1.1 (the "License"); you may not use this file except in compliance with
  10.  the License. You may obtain a copy of the License at
  11.  http://www.mozilla.org/MPL/
  12.  
  13.  Software distributed under the License is distributed on an "AS IS" basis,
  14.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.  for the specific language governing rights and limitations under the
  16.  License.
  17.  
  18.  The Original Code is mozilla.org Code.
  19.  
  20.  The Initial Developer of the Original Code is
  21.  Netscape Communications Corporation.
  22.  Portions created by the Initial Developer are Copyright (C) 1998-2001
  23.  the Initial Developer. All Rights Reserved.
  24.  
  25.  Contributor(s):
  26.    dianesun@netscape.com
  27.    H├Ñkan Waara <hwaara@chello.se>
  28.  
  29.  Alternatively, the contents of this file may be used under the terms of
  30.  either of the GNU General Public License Version 2 or later (the "GPL"),
  31.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  32.  in which case the provisions of the GPL or the LGPL are applicable instead
  33.  of those above. If you wish to allow use of your version of this file only
  34.  under the terms of either the GPL or the LGPL, and not to allow others to
  35.  use your version of this file under the terms of the MPL, indicate your
  36.  decision by deleting the provisions above and replace them with the notice
  37.  and other provisions required by the GPL or the LGPL. If you do not delete
  38.  the provisions above, a recipient may use your version of this file under
  39.  the terms of any one of the MPL, the GPL or the LGPL.
  40.  
  41.  ***** END LICENSE BLOCK ***** -->
  42.  
  43. <?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
  44. <?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
  45.  
  46. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/msgSynchronize.dtd" >
  47. <dialog    xmlns:nc="http://home.netscape.com/NC-rdf#"
  48.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  49.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  50.         id="select-offline" 
  51.         title="&MsgSelect.label;"
  52.         width="450" height="400"
  53.         persist="width height"
  54.         buttons="accept,cancel,help"
  55.         onload="selectOnLoad();"
  56.         ondialogaccept="return selectOkButton();"
  57.         ondialogcancel="return selectCancelButton();"
  58.         ondialoghelp="return doHelpButton();">
  59.         
  60. <script src="chrome://global/content/strres.js"/>
  61. <script type="application/x-javascript" src="chrome://messenger/content/mailWindowOverlay.js"/>
  62. <script type="application/x-javascript" src="chrome://messenger/content/commandglue.js"/>
  63. <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  64. <stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
  65. <script type="application/x-javascript" src="chrome://messenger/content/mailCommands.js"/>
  66. <script type="application/x-javascript" src="chrome://messenger/content/mailWindow.js"/>
  67. <script type="application/x-javascript" src="chrome://messenger/content/msgMail3PaneWindow.js"/>
  68. <script type="application/x-javascript" src="chrome://messenger/content/msgSynchronize.js"/>
  69. <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  70.     
  71.     <keyset id="keyset"/>
  72.     <description class="desc">&MsgSelectDesc.label;</description>
  73.  
  74.     <tree id="synchronizeTree" flex="1" hidecolumnpicker="true"
  75.               datasources="rdf:msgaccountmanager rdf:mailnewsfolders" ref="msgaccounts:/" flags="dont-build-content"
  76.               onkeypress="onSynchronizeTreeKeyPress(event);"
  77.               onclick="onSynchronizeClick(event);">
  78.       <template>
  79.         <rule>
  80.           <conditions>
  81.             <content uri="?container"/>
  82.             <member container="?container" child="?member"/>
  83.             <triple subject="?member" predicate="http://home.netscape.com/NC-rdf#SupportsOffline" object="true"/>
  84.           </conditions>
  85.  
  86.           <bindings>
  87.             <binding subject="?member"
  88.                    predicate="http://home.netscape.com/NC-rdf#FolderTreeName"
  89.                    object="?folderTreeName" />
  90.             <binding subject="?member"
  91.                    predicate="http://home.netscape.com/NC-rdf#FolderTreeName?sort=true"
  92.                    object="?folderTreeNameSort" />
  93.             <binding subject="?member"
  94.                    predicate="http://home.netscape.com/NC-rdf#SpecialFolder"
  95.                    object="?specialFolder" />
  96.             <binding subject="?member"
  97.                    predicate="http://home.netscape.com/NC-rdf#IsServer"
  98.                    object="?isServer" />
  99.             <binding subject="?member"
  100.                    predicate="http://home.netscape.com/NC-rdf#IsSecure"
  101.                    object="?isSecure" />
  102.             <binding subject="?member"
  103.                    predicate="http://home.netscape.com/NC-rdf#ServerType"
  104.                    object="?serverType" />
  105.             <binding subject="?member"
  106.                    predicate="http://home.netscape.com/NC-rdf#Synchronize"
  107.                    object="?synchronize" />
  108.           </bindings>
  109.              
  110.           <action>
  111.             <treechildren>
  112.               <treeitem uri="?member">
  113.                 <treerow>
  114.                   <treecell label="?folderTreeName"
  115.                                 properties="specialFolder-?specialFolder isServer-?isServer isSecure-?isSecure serverType-?serverType"/>
  116.                   <treecell properties="synchronize-?synchronize isServer-?isServer"/>
  117.                 </treerow>
  118.               </treeitem>
  119.             </treechildren>
  120.           </action>
  121.         </rule>
  122.       </template>
  123.       <treecols>
  124.         <treecol id="folderNameCol" flex="5" persist="hidden width" label="&MsgSelectItems.label;" primary="true" />
  125.         <splitter class="tree-splitter"/>          
  126.         <treecol id="syncCol" flex="1" persist="hidden width" label="&MsgSelectInd.label;" cycler="true" />
  127.       </treecols>
  128.     </tree>
  129.  
  130. </dialog>
  131.